package cn.b.sky.user.service.model;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息类
 * 
 * @author Admin
 * 
 */
public class User implements Serializable {
  private static final long serialVersionUID = 1L;

  private String siteCode; // 工厂编号

  private String userCode; // 用户编号

  private String username; // 用户名（为计算值：用户编号@工厂编号）

  private String userText; // 用户描述

  private String password; // 密码

  private Date fromDate; // 有效期起

  private Date toDate; // 有效期止

  private Date passwordChangeDate; // 密码最后修改日期

  private Integer passwordErrorTimes; // 密码错误次数

  private String languageCode; // 语言代码

  private String timeZoneCode; // 时区代码

  private String userTypeECode; // 用户类型

  private Integer lockFlag; // 锁定标志

  private String createUser; // 创建者

  private Date createDateTime; // 创建时间

  private String modifyUser; // 修改者

  private Date modifyDateTime; // 修改时间

  private Integer systemFlag; // 系统内置用户标志

  private String contactName; // 联系人姓名

  private Date birthDate; // 出生日期

  private String telephone; // 电话

  private String mobile; // 移动电话

  private String fax; // 传真

  private String email; // 电子邮件

  private String postcode; // 邮编

  private String address; // 地址

  private String wechat;//微信
  
  private String smartWatch;//智能手表
  public String getSiteCode() {
    return siteCode;
  }

  public void setSiteCode(String siteCode) {
    this.siteCode = siteCode;
  }

  public String getUserCode() {
    return StringUtils.upperCase(userCode);
  }

  public void setUserCode(String userCode) {
    this.userCode = StringUtils.upperCase(userCode);
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getUserText() {
    return userText;
  }

  public void setUserText(String userText) {
    this.userText = userText;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public Date getFromDate() {
    return fromDate;
  }

  public void setFromDate(Date fromDate) {
    this.fromDate = fromDate;
  }

  public Date getToDate() {
    return toDate;
  }

  public void setToDate(Date toDate) {
    this.toDate = toDate;
  }

  public Date getPasswordChangeDate() {
    return passwordChangeDate;
  }

  public void setPasswordChangeDate(Date passwordChangeDate) {
    this.passwordChangeDate = passwordChangeDate;
  }

  public Integer getPasswordErrorTimes() {
    return passwordErrorTimes;
  }

  public void setPasswordErrorTimes(Integer passwordErrorTimes) {
    this.passwordErrorTimes = passwordErrorTimes;
  }

  public String getLanguageCode() {
    return languageCode;
  }

  public void setLanguageCode(String languageCode) {
    this.languageCode = languageCode;
  }

  public String getTimeZoneCode() {
    return timeZoneCode;
  }

  public void setTimeZoneCode(String timeZoneCode) {
    this.timeZoneCode = timeZoneCode;
  }

  public String getUserTypeECode() {
    return userTypeECode;
  }

  public void setUserTypeECode(String userTypeECode) {
    this.userTypeECode = userTypeECode;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

  public String getCreateUser() {
    return createUser;
  }

  public void setCreateUser(String createUser) {
    this.createUser = createUser;
  }

  public Date getCreateDateTime() {
    return createDateTime;
  }

  public void setCreateDateTime(Date createDateTime) {
    this.createDateTime = createDateTime;
  }

  public String getModifyUser() {
    return modifyUser;
  }

  public void setModifyUser(String modifyUser) {
    this.modifyUser = modifyUser;
  }

  public Date getModifyDateTime() {
    return modifyDateTime;
  }

  public void setModifyDateTime(Date modifyDateTime) {
    this.modifyDateTime = modifyDateTime;
  }

  public Integer getSystemFlag() {
    return systemFlag;
  }

  public void setSystemFlag(Integer systemFlag) {
    this.systemFlag = systemFlag;
  }

  public String getContactName() {
    return contactName;
  }

  public void setContactName(String contactName) {
    this.contactName = contactName;
  }

  public Date getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(Date birthDate) {
    this.birthDate = birthDate;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public String getFax() {
    return fax;
  }

  public void setFax(String fax) {
    this.fax = fax;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPostcode() {
    return postcode;
  }

  public void setPostcode(String postcode) {
    this.postcode = postcode;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

public String getWechat()
{
	return wechat;
}

public void setWechat(String wechat)
{
	this.wechat = wechat;
}

public String getSmartWatch()
{
	return smartWatch;
}

public void setSmartWatch(String smartWatch)
{
	this.smartWatch = smartWatch;
}

}
